package com.jicheng.entity;

import com.jicheng.ext.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "cadre_information")
public class CadreInformation implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    //用户id
    @ApiModelProperty(value = "用户id")
    @Column(name = "user_id")
    private String userId;
    //填报id
    @ApiModelProperty(value = "填报id")
    @Column(name = "report_id")
    private String reportId;
    //终端id  appId
    @ApiModelProperty(value = "终端id")
    @Column(name = "app_id")
    private String appId;
    //姓名
    @ApiModelProperty(value = "姓名")
    @Column(name = "name")
    private String name;

    //手机号
    @ApiModelProperty(value = "手机号")
    @Column(name = "phone")
    private String phone;

    //籍贯
    @ApiModelProperty(value = "籍贯")
    @Column(name = "native_place")
    private String nativePlace;

    //出生日期
    @ApiModelProperty(value = "出生日期")
    @Column(name = "birth_day")
    private String birthDay;

    //入党时间
    @ApiModelProperty(value = "入党时间")
    @Column(name = "join_party_time")
    private String joinPartyTime;

    //职务
    @ApiModelProperty(value = "职务")
    @Column(name = "duty")
    private String duty;

    //是否党代表
    @ApiModelProperty(value = "是否党代表")
    @Column(name = "is_representative")
    private String isRepresentative;

    //是否政协委员
    @ApiModelProperty(value = "是否政协委员")
    @Column(name = "is_cppcc")
    private String isCppcc;

    //居住地址
    @ApiModelProperty(value = "居住地址")
    @Column(name = "living_address")
    private String livingAddress;

    //身份证号
    @ApiModelProperty(value = "身份证号")
    @Column(name = "id_card")
    private String idCard;

    // * 性别   1 男    2 女     0 未知
    @ApiModelProperty(value = "* 性别   1 男    2 女     0 未知")
    @Column(name = "sex")
    private String sex;

    //民族
    @ApiModelProperty(value = "民族")
    @Column(name = "nation")
    private String nation;

    //学历
    @ApiModelProperty(value = "学历")
    @Column(name = "education")
    private String education;

    //参加工作时间
    @ApiModelProperty(value = "参加工作时间")
    @Column(name = "working_hours")
    private String workingHours;

    //任职时间
    @ApiModelProperty(value = "任职时间")
    @Column(name = "tenure")
    private String tenure;

    //是否人大代表
    @ApiModelProperty(value = "是否人大代表")
    @Column(name = "is_npc")
    private String isNpc;


    //当前单位
    @ApiModelProperty(value = "当前单位")
    @Column(name = "current_unit")
    private String currentUnit;

    //单位名称
    @ApiModelProperty(value = "单位名称")
    @Column(name = "unit_name")
    private String unitName;

    //职级
    @ApiModelProperty(value = "职级")
    @Column(name = "rank")
    private String rank;

    @ApiModelProperty(value = "头像")
    @Column(name = "header")
    private String header;

    @ApiModelProperty(value = "干部id")
    @Column(name = "cadre_id")
    private String cadreId;

    @ApiModelProperty(value = "因私出国(境)证件号码")
    @Column(name = "abroad_id_num")
    private String abroadIdNum;

    @Column(name = "create_time")
    private String createTime;
}